#include "mysocket.h"
#include "apueerror.h"

#include <sys/types.h>
#include <sys/socket.h>

int Socket( int family, int type, int protocol )
{
	int	n;
	
	if ( (n = socket(family, type, protocol)) < 0 )
	{
		err_sys("socket error.orz");
	}

	return (n);
}
